package com.novel.download.controller.resp;


import lombok.Data;

@Data
public class Catalogue implements H5Interface {
    private String catalogueName;

    private String catalogueUrl;

    private String bookUrl;

    private String net;

    @Override
    public String toString() {
        return catalogueName + "\t\t" + catalogueUrl;
    }

    @Override
    public String toH5String() {
        return "<a href=\"/novel/download?net=" + net +
                "&url=" + bookUrl + "&from=" + catalogueName + "\">" + catalogueName + "</a><br>";
    }
}
